package ssm.mapper;

import org.apache.ibatis.annotations.Param;
import ssm.model.entity.Video;
import ssm.model.entity.VideoBanner;

import java.util.List;

public interface VideoMapper {
    List<Video> listVideo();

    List<VideoBanner> listVideoBanner();

    Video findDetailById(@Param("video_id") int videoId);


    Video findById(@Param("video_id") int videoId);

}
